package org.nfIt.th07;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * ClossName:TechBook
 * Pakage:org.nfIt.th07
 * Description
 *
 * @Author L
 * @Create 2024/5/19 20:22
 * @Version 2023.1.3
 * 技术书籍
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TechBook implements Book{
    /**
     * 书本名称
     */
    private String bookTitle;

    /**
     * 作者
     */
    private  String userName;

    /**
     * ISBN编号
     */
    private String ISBN ;

    /**
     * 出版时间
     */
    private LocalDate publicationDate;

    @Override
    public String getTitle() {
        return this.bookTitle;
    }

    @Override
    public String getName() {
        return this.userName;
    }

    @Override
    public String getISBNs() {
        return this.ISBN;
    }
}
